package com.system.manager.modules.development.service.impl;

import com.system.manager.common.exception.SysException;
import com.system.manager.modules.development.entity.DeveClass;
import com.system.manager.modules.development.mapper.DeveClassMapper;
import com.system.manager.modules.development.service.IDeveClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yxp
 * @since 2021-11-17
 */
@Service
public class DeveClassServiceImpl extends ServiceImpl<DeveClassMapper, DeveClass> implements IDeveClassService {
    @Autowired
    private DeveClassMapper deveClassMapper;
    @Override
    public void insertClass(DeveClass deveClass) {
        try {
            deveClassMapper.insert(deveClass);
        }catch (Exception e){
            throw new SysException();
        }
    }
}
